<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>

<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>jslib/easyui/demo/demo.css">
<script type="text/javascript" src="<%=basePath%>jslib//easyui/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>jslib/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="<%=basePath%>jslib/easyui/locale/easyui-lang-zh_CN.js"></script>

<title>First Day of Week - jQuery EasyUI Demo(1.5.3)</title>

<script type="text/javascript">
		
	$(function(){
		
	});
	
</script>
</head>
<body>

	<h2>一周的第一天</h2>
	<div class="demo-info">
		<div class="demo-tip icon-tip"></div>
		<div>选择一周的第一天.</div>
	</div>
	
	<div style="margin:10px 0">
		<select onchange="$('#cc').calendar({firstDay:this.value})">
			<option value="1">周一</option>
			<option value="2">周二</option>
			<option value="3">周三</option>
			<option value="4">周四</option>
			<option value="5">周五</option>
			<option value="6">周六</option>
			<option value="0">周日</option>
		</select>
	</div>
	
	<div id="cc" class="easyui-calendar" style="width:180px;height:180px;"></div>
	
	<script type="text/javascript">
	
	</script>
</body>
</html>